/**
 * Project Name:sc-config-client
 * File Name:GitTestContorller.java
 * Package Name:com.sc.icecream.config.client.service
 * Date:2016��12��27������11:30:44
 * Copyright (c) 2016, ����֪ʱ��Ϣ�Ƽ����޹�˾ All Rights Reserved.
 *
*/

package com.sc.icecream.config.client.service;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * ClassName:GitTestContorller <br/>
 * Function: <br/>
 * Date: 2016��12��27�� ����11:30:44 <br/>
 * 
 * @author guooo
 * @version
 * @since JDK 1.6
 * @see
 */
@RestController
@RefreshScope
public class GitTestContorller {

    @Value("${db_url}")
    private String dbUrl;

    @RequestMapping("/from")
    public String from() {
        return this.dbUrl;
    }
}
